package org.logMonitor.service;

import org.logMonitor.dto.IpSort;

import java.util.List;
import java.util.Set;

/**
 * Created by lenovo on 2018/1/19.
 */
public interface IpSortService {

    /**
     * 得到ip总流量前5排名，服务于饼图展示
     * @return
     */
    List<IpSort> getIpSortFromRedis();

    /**
     *得到TCP udp 的数量
     * @return
     */
    List<IpSort> getTcpUdpFromRedis();
}